package a1_2;

/**
 * 建筑类，作为College的聚合部分（可独立存在）
 */
public class Building {
    // 可补充建筑相关属性（如地址、名称，UML未明确，可选）
    private String address;
    private String name;

    public Building() {}

    public Building(String address, String name) {
        this.address = address;
        this.name = name;
    }

    // Getter/Setter
    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
